﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SU.DomainModel.Entity;

namespace SU.DomainModel.Repository {
    public interface IRoleRepository : IRepository<Role> {
        IEnumerable<User> UsersByRole(string roleID);
        IEnumerable<Function> FunctionsByRole(string roleID);
        bool IsMatch(string roleID, string functionID);
    }
}
